package api.person;

/**
 * @author Ann Raboschuk
 *
 */
public class Address implements IAddress
{
   private Long id;
   private String country, city, street, building, flat;
   
   @Override
   public String getBuilding()
   {
      return building;
   }

   @Override
   public String getCity()
   {
      return city;
   }

   @Override
   public String getCountry()
   {
      return country;
   }

   @Override
   public String getFlat()
   {
      return flat;
   }

   @Override
   public Long getId()
   {
      return id;
   }

   @Override
   public String getStreet()
   {
      return street;
   }

   @Override
   public void setBuilding(String building)
   {
      this.building = building;
   }

   @Override
   public void setCity(String city)
   {
      this.city = city;      
   }

   @Override
   public void setCountry(String country)
   {
      this.country = country;
   }

   @Override
   public void setFlat(String flat)
   {
      this.flat = flat;
   }

   @Override
   public void setId(Long id)
   {
      this.id = id;
   }

   @Override
   public void setStreet(String street)
   {
      this.street = street;
   }
}
